package com.yule.config;

public class DynamicDataSourceContext {

    private static final ThreadLocal<String> threadLocal = new ThreadLocal();

    public static synchronized void setDBType(String data) {
        threadLocal.set(data);
    }

    public static String getDBType() {
        return threadLocal.get();
    }

}
